home *** CD-ROM | disk | FTP | other *** search
- { %filename% -- window }
- { Created %date% %time% by AppMaker }
-
- { For most applications, your window will have custom view classes. }
- { This module provides a convenient place to put these classes. }
- { If you specify a custom classname for any view item, AppMaker will }
- { generate some skeleton code for that custom class. It generates }
- { a declaration of that class with a fields method; it generates }
- { the body of the fields method; and AppMaker generates code for }
- { dead strip suppression. For some view items, AppMaker generates }
- { other methods it knows you will need; for instance, for a }
- { TTextListView, AppMaker generates a GetItemText method. }
-
- Unit U%windname%;
- Interface
-
- Uses
- %if lang = Think%
- SysEqu, Traps, ULoMem, {}
- UMacAppUtilities, UPatch, {}
- UObject, UViewCoords, UMemory, {}
- UFailure, UMenuSetup, UList, {}
- UAssociation, {}
- UMacApp, {}
- UGridView, UTEView, UDialog, {}
- UAMLibraryM, {}
- ResourceDefs;
- %else%
- UMacApp,
- UGridView,
- UTEView,
- UDialog,
- UAMLibraryM,
- Types,
- Packages,
- ResourceDefs;
- %endif%
- %for each item gen classDecl%
-
- {----------}
- Function New%windname% (itsDocument: TDocument): TWindow;
-
- {----------}
- Implementation
-
- %If lang = MPW%
- {$I U%windname%.inc.p}
- %else%
- %window.inc%
- %endif%
-
- End. {U%windname%}
-